package com.epfresh.supplier.entity;

import java.util.List;

import multitype.suspension.ISuspensionInterface;

/**
 * Author: Chen
 * Date: 2018/11/29
 * Desc:
 */
public class CategoryTwoEntity implements ISuspensionInterface {
    private String name;
    private String id;
    private boolean moml;
    private String iconId;
    private String iconUrl;
    private String sort;

    private String parentName;
    private boolean select;
    private int position;

    private List<CategoryThreeEntity> item;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isMoml() {
        return moml;
    }

    public void setMoml(boolean moml) {
        this.moml = moml;
    }

    public String getIconId() {
        return iconId;
    }

    public void setIconId(String iconId) {
        this.iconId = iconId;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public List<CategoryThreeEntity> getItem() {
        return item;
    }

    public void setItem(List<CategoryThreeEntity> item) {
        this.item = item;
    }

    @Override
    public boolean isShowSuspension() {
        return true;
    }

    @Override

    public boolean isSuspensionTitle() {
        return true;
    }


    @Override
    public String getSuspensionTag() {
        return name;
    }

    @Override
    public String getSuspensionTagId() {
        return id;
    }
}
